import axios from "@/http/http.js";
// 封装获取职称下拉框接口
export const institutionTypeFindAPI = (data) => {
    return axios({
        url: '/institutionType/findInstitutionType',
        method: 'post',
        data
    })
};

// 封装获取职称列表接口
export const institutionTypesFindAPI = (data) => {
    return axios({
        url: '/institutionType/findInstitutionTypes',
        method: 'post',
        data
    })
};

// 封装修改职称接口
export const institutionTypeUpdateAPI = (data) => {
    return axios({
        url: '/institutionType/updateInstitutionType',
        method: 'put',
        data,
    })
};

// 封装添加职称接口
export const institutionTypeAddAPI = (data) => {
    return axios({
        url: '/institutionType/addInstitutionType',
        method: 'post',
        data,
    })
};